package com.eastcode.mobile.server.user.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;

/**
 * 通话记录
 * 
 * @author 王一进
 * 
 */
@Cached
public class CallLog implements Serializable {

	private static final long serialVersionUID = -967424232685652775L;

	/** 主键 **/
	@Id
	private Long id;

	/** 记录在设备上的主键编码 **/
	private String clientKey;

	/** 用户ID **/
	private String userId;

	/** 呼叫号 **/
	private String callNumber;

	/** 呼叫者 **/
	private String callName;

	/** 通话时间 **/
	private String callDate;

	/** 类型：呼出，呼入 ，未接 **/
	private String type;

	/** 创建时间 **/
	private Date createTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getClientKey() {
		return clientKey;
	}

	public void setClientKey(String clientKey) {
		this.clientKey = clientKey;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getCallNumber() {
		return callNumber;
	}

	public void setCallNumber(String callNumber) {
		this.callNumber = callNumber;
	}

	public String getCallName() {
		return callName;
	}

	public void setCallName(String callName) {
		this.callName = callName;
	}

	public String getCallDate() {
		return callDate;
	}

	public void setCallDate(String callDate) {
		this.callDate = callDate;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
